// Copyright 2022 a.o.smith ALL Rights Reserved
package com.liuxinlong.modules.dao.impl;

import java.util.List;
import java.util.Map;

import org.springframework.stereotype.Service;

import com.liuxinlong.modules.dao.DepartmentDao;
import com.liuxinlong.modules.entity.UserDepartment;
import com.liuxinlong.modules.mapper.DepartmentMapper;
import com.baomidou.mybatisplus.service.impl.ServiceImpl;

/**
 * 类描述
 * <p>
 * 此类关联设计的功能
 *
 * @author liuxinlong@hotwater.com.cn
 * @version 1.0.0
 * @since 2022年2月22日
 */
@Service
public class DepartmentDaoImpl extends ServiceImpl<DepartmentMapper, UserDepartment> implements DepartmentDao {

	@Override
	public List<UserDepartment> pageDepartmentList(Map<String, Object> queryParam) {
		return baseMapper.pageDepartmentList(queryParam);
	}

	@Override
	public int getDepartmentCount(Map<String, Object> queryParam) {
		return baseMapper.getDepartmentCount(queryParam);
	}

	@Override
	public Map<String, Map<String, String>> getDepartmentMap() {
		return baseMapper.getDepartmentMap();
	}

	@Override
	public List<UserDepartment> getDepartmentList() {
		return baseMapper.getDepartmentList();
	}

	@Override
	public UserDepartment getDepartmentByName(String departmentName) {
		return baseMapper.getDepartmentByName(departmentName);
	}

	@Override
	public Map<String, Map<String, String>> getDepartmentMapByName() {
		return baseMapper.getDepartmentMapByName();
	}

	@Override
	public List<UserDepartment> getDepartmentListByName(String departmentName) {
		return baseMapper.getDepartmentListByName(departmentName);
	}

}
